package com.xbongbong.saas.service;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.supplieruser.pojo.dto.SupplierUserDeleteBatchDTO;
import com.xbongbong.pro.supplieruser.pojo.vo.SupplierUserDeleteBatchVO;
import com.xbongbong.saas.domain.entity.SupplierUserEntity;
/**
 * 供应商负责人service接口层
 * @author Jian.Wang
 * @date 2019/1/20 16:32
 * @since v1.0
 * @version v1.0
 */
public interface SupplierUserService {
    /**
     * 供应商负责人数据插入
     * @param supplierUserEntity 供应商实体
     * @author Jian.Wang
     * @date 2019/1/31 10:41
     * @since v1.0
     * @throws XbbException 异常
     * @return Integer
     */
    Integer insert(SupplierUserEntity supplierUserEntity) throws XbbException;

    /**
     * 批量删除供应负责人
     * @author 吴峰
     * @date 2019/3/6 22:18
     * @param supplierUserDeleteBatchDTO
     * @return com.xbongbong.pro.supplieruser.pojo.vo.SupplierUserDeleteBatchVO
     * @throws XbbException 业务异常
     */
    SupplierUserDeleteBatchVO deleteBatch(SupplierUserDeleteBatchDTO supplierUserDeleteBatchDTO) throws XbbException;
}
